package com.wu.common.convertion.errorcode;

public enum ListSongErrorCode implements IErrorCode {

    LIST_SONG_SAVE_ERROR("B000401", "添加列表歌曲失败"),
    LIST_SONG_DELETE_ERROR("B000402", "删除列表歌曲失败"),
    LIST_SONG_UPDATE_ERROR("B000403", "修改列表歌曲信息失败");

    private final String code;

    private final String message;

    ListSongErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
